package com.rd.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.rd.pojo.Equipment;
import com.rd.util.ResultModel;

import java.time.LocalDate;
import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author qiufenfen
 * @since 2023-10-28
 */
public interface IEquipmentService extends IService<Equipment> {
/**分页查询*/
    ResultModel getEquipmentByPage(Integer currentPage, Integer size, Equipment equipment, LocalDate[] beginDateScope);
/**获取最大工号*/
    ResultModel maxWorkID();
/**添加员工*/
    ResultModel addEmp(Equipment equipment);

    /**
     * @return
     * @description: 查询员工
     * @param: id
     */
    List<Equipment> getEquipment(Integer id);
}
